package com.zhao.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Description: <br/>
 *
 * @author 柒柒
 * @version : 1.0
 * @ClassName Student <br/>
 * Copyright (c) ，2020 ， 赵 <br/>
 * Date： 2020/11/28 15:42
 */

@Data
@NoArgsConstructor
public class Student {

    /**
     * 姓名
     */
    private String name;
    /**
     * 分数
     */
    private Double score;

    public Student(String name, Double score) {
        this.name = name;
        this.score = score;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }
}
